﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/CabeceraMinisterio.Master" CodeBehind="Informe1.aspx.vb" Inherits="SCHC.Informe1"
Culture="es-AR" UICulture="Auto"%>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cabezaDepagina" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContenedorMinisterio" runat="server">
    <script type="text/javascript" >
        function ChangeCalDesde(sender, args) {
            var txtClientID = '<%= txtCalDesde.ClientID %>';
            __doPostBack("FechaDesde", document.getElementById(txtClientID).value);
        }
        function ChangeCalHasta(sender, args) {
            var txtClientID = '<%= txtCalHasta.ClientID %>';
            __doPostBack("FechaHasta", document.getElementById(txtClientID).value);
        }

    </script>
    <asp:Panel ID="pnlInforme1" runat="server" GroupingText="Informe">
        <ajaxToolkit:ToolkitScriptManager ID="tlkt1" runat="server"></ajaxToolkit:ToolkitScriptManager>
        <table border="1">
            <tr>
                <td colspan="2">
                    <asp:Label id="lblTopTres" runat="server" Text="Top 3 provincias"></asp:Label>
                </td>
            </tr>
                    <tr>
            <td>                
                <asp:Label ID="lblCalDesde" runat="server" Text="Rango inicio"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtCalDesde" runat="server" ReadOnly="false" Enabled="True"></asp:TextBox>
                <ajaxToolkit:CalendarExtender ID="CalendarExtender1" runat="server" Format="dd/MM/yyyy" 
                    TargetControlID="txtCalDesde" BehaviorID="Calendar1" PopupButtonID="btnCalDesde" 
                    OnClientDateSelectionChanged="ChangeCalDesde" >
                </ajaxToolkit:CalendarExtender>
                <asp:ImageButton ID="btnCalDesde" runat="server" 
                    ImageUrl="~/Imagenes/Calendar_scheduleHS.png" 
                    style="width: 16px; height: 16px;" />
            </td>
            
        </tr>
        <tr>
            <td>
                <asp:Label ID="lblCalHasta" runat="server" Text="Rango fin"></asp:Label>                
            </td>
            <td>
                <ajaxToolkit:CalendarExtender ID="CalendarExtender2" runat="server" Format="dd/MM/yyyy" 
                    TargetControlID="txtCalHasta" BehaviorID="Calendar2" PopupButtonID="btnCalHasta" 
                    OnClientDateSelectionChanged="ChangeCalHasta" >
                </ajaxToolkit:CalendarExtender>
                <asp:TextBox ID="txtCalHasta" runat="server" ReadOnly="false" Enabled="True"></asp:TextBox>
                <asp:ImageButton ID="btnCalHasta" runat="server" 
                    ImageUrl="~/Imagenes/Calendar_scheduleHS.png" />
            </td>
        </tr>

            <tr>
                <td>
                    <asp:Label id="lblVacunas" runat="server" Text="Vacunas"></asp:Label>
                </td>
                <td>
                    <asp:DropDownList id="cboCriterioTop" runat="server">
                        <asp:ListItem Value="Porcentaje de pacientes vacunados"></asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td colspan="3">
                    <asp:Button ID="btnGenerar" runat="server" CausesValidation="False" Text="Generar" />
                </td>
            </tr>
        </table>

        <asp:Panel ID="pnlrdos" runat="server" Visible="false">
        <table border="1">
            <tr>
                <td>
                    <asp:Label ID="lblPcia1" runat="server" Text="" Visible="false"></asp:Label>
                </td>
                <td>
                    <asp:Image ID="imgPcia1" runat="server" 
                        ImageUrl="" />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblPcia2" runat="server" Text=""></asp:Label>
                </td>
                <td>
                    <asp:Image ID="imgPcia2" runat="server" 
                        ImageUrl=""  />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblPcia3" runat="server" Text=""></asp:Label>
                </td>
                <td>
                    <asp:Image ID="imgPcia3" runat="server" 
                        ImageUrl="" />
                </td>
            </tr>
        </table>
        </asp:Panel>

    </asp:Panel>
</asp:Content>
